package cn.lovemmd.model.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * SSM后端应用启动类
 * 
 * @author TLS
 * @since 2024-01-01
 */
@SpringBootApplication
@MapperScan("cn.lovemmd.model.admin.mapper")
public class SsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(SsmApplication.class, args);
        System.out.println("=================================");
        System.out.println("SSM后端服务启动成功！");
        System.out.println("访问地址: http://localhost:8080/api");
        System.out.println("Swagger文档: http://localhost:8080/api/swagger-ui/index.html");
        System.out.println("Druid监控: http://localhost:8080/api/druid");
        System.out.println("=================================");
    }
}
